import VueRouter from "vue-router";
import Vue from 'vue'
import Home from '../page/Home.vue'
import index from '../page/index.vue'
Vue.use(VueRouter)
const router = new VueRouter({
    routes: [
        {
            path: '/home',
            component: Home
        },
        {
            path: '/index',
            component: index
        },
    ]
})
export default router